<template>
    <div>
        <van-button type="primary" @click="log()">登录</van-button>
        <van-button type="primary" @click="reg()">注册</van-button>
    </div>
</template>
<script>
export default {
    name:'rlg',
    methods:{
        log(){
            this.$router.push('/log')
        },
         reg(){
            this.$router.push('/reg')
        }
    }
}
</script>
<style scoped>

</style>
